{template 'header', $module}
<link rel="stylesheet" type="text/css" href="{DT_STATIC}{$MODULE[2][moduledir]}/image/index.css"/>
<div id="warn">
{if $_groupid == 4}
	<div class="warn">尊敬的会员，您的帐号<span class="f_red f_b">正在审核中..</span>，本站部分功能和服务可能受到一定的使用限制，{if $MOD[checkuser]==2}<a href="send.php?action=check" class="l">请点这里验证您的邮箱</a>，系统将自动审核{else}请稍候，等待网站审核<br/>完善的商业信息有助于获得别人的信任，结交潜在的商业伙伴，获取商业机会，增加系统审核通过的概率&nbsp;&nbsp;<a href="edit.php?tab=2" class="t f_b">现在就去完善</a>{/if}</div>
{/if}
{if $_groupid > 5 && !$_edittime}
	<div class="warn">贵公司尚未完善详细资料！完善的商业信息有助于获得别人的信任，结交潜在的商业伙伴，获取商业机会&nbsp;&nbsp;<a href="edit.php?tab=2" class="t f_b">现在就去完善</a></div>
{/if}
{if $vip && $havedays < 11 && $havedays > 0}
	<div class="warn">尊敬的{$MG[groupname]}，您的{VIP}服务将在 <strong class="f_red">{$havedays}</strong> 天后到期，为了不影响您的正常使用，请您尽快续费。&nbsp;&nbsp;<a href="renew.php" class="t f_b">点击续费</a></div>
{/if}
</div>
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td valign="top">
	<div class="i_info">
	<ul>
	{if $MOD[vmember]}
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $validated}v{else}u{/if}_member.gif" width="16" height="16" title="{if $validated}已通过{$validator}认证{else}未通过认证{/if}" align="absmiddle"/> 认证：
	{if $MOD[vemail]}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vemail}v{else}u{/if}_email.gif" width="16" height="16" title="{if $vemail}已通过{else}未通过{/if}邮件认证" align="absmiddle"/> <a href="validate.php?action=email" class="l">邮件</a> &nbsp;
	{/if}
	{if $MOD[vmobile]}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vmobile}v{else}u{/if}_mobile.gif" width="16" height="16" title="{if $vmobile}已通过{else}未通过{/if}手机认证" align="absmiddle"/> <a href="validate.php?action=mobile" class="l">手机</a> &nbsp;
	{/if}
	{if $MOD[vbank]}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vbank}v{else}u{/if}_bank.gif" width="16" height="16" title="{if $vbank}已通过{else}未通过{/if}银行帐号认证" align="absmiddle"/> <a href="validate.php?action=bank" class="l">银行</a> &nbsp;
	{/if}
	{if $MOD[vtruename]}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vtruename}v{else}u{/if}_truename.gif" width="16" height="16" title="{if $vtruename}已通过{else}未通过{/if}真实姓名认证" align="absmiddle"/> <a href="validate.php?action=truename" class="l">实名</a> &nbsp;
	{/if}
	{if $MOD[vcompany] && $groupid > 5}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vcompany}v{else}u{/if}_company.gif" width="16" height="16" title="{if $vcompany}已通过{else}未通过{/if}公司资料认证" align="absmiddle"/> <a href="validate.php?action=company" class="l">公司</a>
	{/if}
	</li>
	{/if}
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_message.gif" width="16" height="16" alt="" align="absmiddle"/> 信件：
	<strong class="f_red">{$_message}</strong> 封 <a href="message.php" class="l">未读站内信</a>
	&nbsp;&nbsp;
	<a href="message.php?typeid=1" class="l">询价</a> | 
	<a href="message.php?typeid=2" class="l">报价</a> | 
	<a href="message.php?typeid=3" class="l">留言</a> | 
	<a href="message.php?typeid=4" class="l">信使</a> | 
	<a href="message.php?action=send" class="l">发信</a>
	</li>
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_member.gif" width="16" height="16" alt="" align="absmiddle"/> {$DT[money_name]}：
	<strong class="f_red px14">{$_money}</strong> {$DT[money_unit]}可用 {if $locking}<span class="f_gray">({$locking}{$DT[money_unit]}锁定)</span>{/if}
	&nbsp;&nbsp;
	<a href="record.php" class="l">{$DT[money_name]}流水</a> | 
	<a href="cash.php" class="l">提现</a> | 
	<a href="charge.php?action=pay" target="_blank"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_charge.gif" width="40" height="18" alt="" align="absmiddle"/></a>
	</li>
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_credit.gif" width="16" height="16" alt="" align="absmiddle"/> {$DT[credit_name]}：
	<strong>{$_credit}</strong>
	&nbsp;&nbsp;
	<a href="credit.php" class="l">{$DT[credit_name]}记录</a> | 
	<a href="credit.php?action=buy" class="l">购买{$DT[credit_name]}</a> | 
	<a href="credit.php?action=invite" class="l">推广赚{$DT[credit_name]}</a>
	{if $MOD[credit_exchange]}| <a href="credit.php?action=exchange" class="l">{$DT[credit_name]}兑换</a>{/if}
	{if $EXT[gift_enable]}| <a href="{$EXT[gift_url]}" class="l" target="_blank">积分换礼</a>{/if}
	</li>
	{if $DT[sms] && $MG[sms]}
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_sms.gif" width="16" height="16" alt="" align="absmiddle"/> 短信：
	<strong>{$_sms}</strong> 条可用
	&nbsp;&nbsp;
	<a href="sms.php?action=add" class="l">发送</a> | 
	<a href="sms.php?action=buy" class="l">购买</a> | 
	<a href="sms.php?action=record" class="l">接收记录</a> | 
	<a href="sms.php?action=send" class="l">发送记录</a> | 
	<a href="sms.php" class="l">短信记录</a>
	</li>
	{/if}
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_trade.gif" width="16" height="16" alt="" align="absmiddle"/> 订单：
	<strong class="f_red">{$trade}</strong>
	&nbsp;&nbsp;
	<a href="trade.php" class="l">收到的订单(卖)</a> | 
	<a href="trade.php?action=order" class="l">发出的订单(买)</a>
	{if isset($MODULE[17])} | <a href="group.php?action=order" class="l">{$MODULE[17][name]}订单</a>{/if}
	{if isset($MODULE[16])} | <a href="{$MODULE[16][linkurl]}cart.php" class="l">购物车(<script type="text/javascript">document.write(substr_count(get_cookie('cart'), ','));</script>)</a>{/if}
	</li>
	</ul>
	</div>
	<div class="i_quick">
		<div>
			<ul>
				<li><a href="{$DT[file_my]}" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_my.gif" width="32" height="32" alt=""/><br/><span class="f_red">发布信息</span></a></li>
				<li><a href="edit.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_edit.gif" width="32" height="32" alt=""/><br/>完善资料</a></li>
				<li><a href="message.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_message.gif" width="32" height="32" alt=""/><br/>站内信</a></li>
				<li><a href="style.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_style.gif" width="32" height="32" alt=""/><br/>风格模板</a></li>
				<li><a href="{$linkurl}" target="_blank" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_home.gif" width="32" height="32" alt=""/><br/><span class="f_red">我的商铺</span></a></li>

				<li><a href="record.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_record.gif" width="32" height="32" alt=""/><br/>{$DT[money_name]}记录</a></li>
				<li><a href="trade.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_trade.gif" width="32" height="32" alt=""/><br/>交易管理</a></li>
				<li><a href="alert.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_alert.gif" width="32" height="32" alt=""/><br/>贸易提醒</a></li>
				<li><a href="friend.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_friend.gif" width="32" height="32" alt=""/><br/>我的商友</a></li>
				<li><a href="favorite.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_favorite.gif" width="32" height="32" alt=""/><br/>商机收藏</a></li>
			</ul>
		</div>
		<div style="clear:both;"></div>
	</div>
</td>
<td width="8">&nbsp;</td>
<td valign="top" class="i_rt">
	<div class="i_head">
		<strong>商务便笺</strong>
	</div>
	<div class="i_body">
		<div class="i_note">
			<form method="post" action="index.php" onsubmit="return check();">
			<table cellspacing="2" cellpadding="2" width="100%">
			<tr>
			<td colspan="2"><textarea name="note" id="note">{$note}</textarea></td>
			</tr>
			<tr>
			<td><input type="submit" name="submit" value=" 更 新 " class="btn"/></td>
			<td class="f_gray">[可记录一些文字备忘，限1000字]</td>
			</tr>
			</table>
			</form>
		</div>
	</div>
	<div class="i_head">
		<span class="f_r"><a href="message.php">[更多]</a></span>
		<strong>系统消息</strong>
	</div>
	<div class="i_body">
		<div class="i_sys">
			<ul>
			{if $sys}
			{loop $sys $v}
			<li><span class="f_r px11 f_gray">{timetodate($v[addtime], 2)}</span>&nbsp;<a href="message.php?action=show&itemid={$v[itemid]}" title="{$v[title]}">{$v[title]}</a></li>
			{/loop}
			{else}
			<li>&nbsp;暂无消息</li>
			{/if}
			</ul>
		</div>
	</div>
	<div class="i_head">
		<span class="f_r"><a href="edit.php">[修改]</a></span>
		<strong>我的资料</strong>
	</div>
	<div class="i_body">
		<div class="i_user">
			<table cellpadding="6" cellspacing="0" width="100%">
			{if $_groupid > 5}
			<tr>
			<td class="i_user_l">公司名称</td>
			<td>
			{if $MG[homepage]}
			<a href="{$userurl}" target="_blank" class="l">{$company}</a>
			{else}
			{$company}
			{/if}
			</td>
			</tr>
			{/if}
			{if $support}
			<tr>
			<td class="i_user_l">客服专员</td>
			<td><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/support.gif" align="absmiddle"/><a href="support.php" class="l">点击联系</a></td>
			</tr>
			{/if}
			<tr>
			<td class="i_user_l">会员名</td>
			<td>{$username}</td>
			</tr>
			{if $MOD[passport]}
			<tr>
			<td class="i_user_l">通行证</td>
			<td>{$passport}</td>
			</tr>
			{/if}
			<tr>
			<td class="i_user_l">会员组</td>
			<td>{$MG[groupname]}</td>
			</tr>
			<tr>
			<td class="i_user_l">会员ID</td>
			<td>{$userid}</td>
			</tr>
			<tr>
			<td class="i_user_l">登录时间</td>
			<td>{$logintime}{if $DT[login_log]==2}&nbsp;&nbsp;<a href="record.php?action=login" class="l">登录记录</a>{/if}</td>
			</tr>
			<tr>
			<td class="i_user_l">注册时间</td>
			<td>{$regtime}</td>
			</tr>
			{if $vip}
			<tr>
			<td class="i_user_l">{VIP}级别</td>
			<td><img src="{DT_SKIN}image/vip_{$vip}.gif" alt="{VIP}" title="{VIP}:{$vip}级"/></td>
			</tr>
			<tr>
			<td class="i_user_l">服务期</td>
			<td>{timetodate($fromtime, 3)} 至 {timetodate($totime, 3)}</td>
			</tr>
			<tr>
			<td class="i_user_l">剩余时间</td>
			<td><strong>{$havedays}</strong> 天&nbsp;&nbsp;<a href="renew.php" class="l">续费</a></td>
			</tr>
			{elseif $groupid>4}
			<tr>
			<td class="i_user_l">会员升级</td>
			<td>&nbsp;<a href="grade.php"><span class="f_red">立即升级</span></a></td>
			</tr>
			{/if}
			</table>
		</div>
	</div>
</td>
</tr>
</table>
{template 'footer', $module}